const mongoose = require("mongoose");

const ProblemSchema = mongoose.Schema({
  // 标题
  title: {
    type: String,
    default: "问题清单",
  },
  // 题目
  problem: {
    type: Array,
    default: [[], []],
  },
});

const Problem = mongoose.model("Problem", ProblemSchema);
module.exports = Problem;
